refactoring the code
Adding rough layout of homepage