Added general layout and implemented skeleton functionality