Fixed file structure. Fixed errors and bugs. Changed output info. Actually lots of changes...