Clean

Cleaned up a lot of the code, especially in the create function.
Lots of comments clearing up function use too.