Version3

implement the service, application.
timeline is just printed to log.
in version 4, we need to use SQLite to implemnt timeline.