Working server without hibernate, database