makes it thread safe
Adds basic layout of home page