The great cleaup. Boostrap update. Add stub for after_deploy scripts. Fix all tests