transitioning between single file solution to object-oriented earthquake watcher service solution