New basepath feature, composer
Added 'basepath' option.
Added composer.json
Removed unnecessary twig use.