added new contact and mail method that allows you to change inputs more freely without having to rewrite all the code. also made a test controller example.