moved server start to bin, added tests
added logout and more tests
fixed annoying deprecation warnings
added workout model and tests