started basic UI and state management