Create service abd dao layer