Finished implementation of service code. Need to implement helper classes.