Removed extraneous code and created modal controller for start environment