Created base classes in PHP for json generation, jQuery and PHP validation.