started some of the action handling and included the client database