created basic layout and basic JS functionality