CodeGen (used to be named CodeGenerator) now must be an initialized object. It will keep track of its own string & spaceCount. MainServlet produces basic jsp pages and the validation calls for each page
Basic validation done & shown to user