adding user model, changing main class to module