Bugfixes to make it installable. Admin page is still under development