More peewee tests
Refactoring: renaming master to server

Now it looks like a serious application!