Changed main layout, added some resources