Lots of changes

Implemented DRY principles, less messy code now too.
Created draw.lua, sorted and cleaned, row rendering system and a few other stuff too