Added php contact us and refactored code