DNM: Schedules

Added stuff to korczis/schedules - decode function, middleware, tests, make process_cmd compatible with the param serialization