Added UI elements. Started to create Model logic.