adding code to build resources and new UI files