Create main.php

I wrote this as part of my USPTO Externship, summer 14