move classes to global scope