Rewrite

Initial rewrite of character generator.