added implementations of service layers and spring dependencies