refactoring server models