added project up function and scaling down now also survives a restart

Update service.py

refactored and improved comment

Update main.py

refactored conditional
Merge branch 'master' of https://github.com/sebastianneubauer/fig