Major clean up, ability to check if emulator is running or not, create and run an emulator