Implemented new UI. Closes #1.