Third commit. Basic level system and generator implemented.