Add Composer config
Remove Smarty and autoload third-party libs
Prevent passwords from being shown
Merge branch composer. Closes #1