Implenting new UI library and layout