implementing model
added services and repo