Started work on generate.class - Unfinished