Cleaned up some code in common_classes
Added a travis ci .yml file.

Hopefully this works!