Added default states and created a splash screen