Adding startup and shutdown methods to Main