Rake: Fix spell error
Update: Add log
Update: Redefind const DB
Update: Let logger only initialize once time
Update: Remove lock file when shutdown
Logger: Refactory logger to Singleton class