Add permission handling for #10
Add phpDoc and cleanup
Update database schema
Add database data in separate file
Merge branch 'f/issue#10' into dev

Conflicts:
	app/init/services.php
	sql/structure.sql