Added states
Added a preload screen