Implemented the basics of the new UI