Changes to backend/frontend interaction

Project structure is completely changed. I got rid of public_html dir and put everything to source root.

Lots of changes made to models and views (making it simpler) and to backend (hopefully not making it too difficult). Please look through source comments for details.