Reformated the code, made it easier to follow. Though I haven't done much inside it yet. I will get to converting everything soon.