Fixing issue where auto generated table names are more than the maximum allowed characters
Fixing a bunch of broken tests after being lazy with refactoring.

No more laziness now with automated test runsholding to account!
Fixing a couple more broken tests after being lazy with refactoring.
Adding license and copyright notice