Allow global class definitions

Allow following class definition:
class @FooBar
Merge pull request #21 from georf/global_classes

Allow global class definitions