- move request handling logic to class TimeUtil
- add a error page