bump to 0.4.2.
added hooks module.
added pyyaml on setup.
added a method to load config.
implemented before start.
before start support many commands.

closes #5.
implemented after restart.

closes #6.