Simplify and optimize mesh generation.
Separate rendering code into it's own module.
Remove old render module.