moved init code to init.php
cleaner code
error fix
started working on #5