started with code refactor for landing page and first page php file