Added 'basepath' option.
Removed unnecessary twig template engine use.
Added composer.json.