Working hours

Initial implementation of the working hours feature (missing validations and interface changes)