Php class to make forms