Renamed main & changed pretty much everything in it.