The easiest way to start a new add-on, is to start with an existing one.
For plugins, try starting with the "Example" add-on that is distributed with gpEasy and can be found in the /addons folder.
Start with an existing theme, or use the .Abstract theme to start from scratch. For information about theme folder structures, read Anatomy of a Theme.
Less.php: less.js ported to PHP