Included function for new HATs class
New class for processing pickled HATs and HAT dictionaries
Tests for functionality that is moved to HATs class moved to test HATs class