Separate helper functions to their own files. Changed the environment "design" completely, everythings arrays|stacks now. Some syntax changes and more functions. Added notes|design document.