refactor main loop
Merge branch 'feature/wait-on-startup-iss45' into feature/refactor-mainloop
Merge pull request #49 from mackerelio/feature/refactor-mainloop

Feature/refactor mainloop