Add PostgreSQL support. Create tables on startup.
Simplify logging
Add storing new games to DB and their id retrieving
Implement DB interaction
Add SQL scripts