foundation of repositories, service layer, started work on basic usecases