Added .gitignore
Added Template controller and layout for him. Mainpage inherited from template instead base.
Changed access to $db in Model. Added url() function to helper.
No comments
Moved functions to helpers. Other minor fixes.
Internationalization