Moving out all database interactions to dedicated model classes.
Moving out all HTML to a dedicated views/templates.
Merge branch 'master' into lesson2
Creating DatabaseAdapter and DatabaseFactory, that are connected to application using "Design by Contract" principle.