made event types more flexible, bug fixes

removed final ajax calls, all data is pushed through hubs now,
made shift type 100% customizable, cleaned up more code