Implemented MVP
Fixed bug with inserting layout