added a metadata package to contain metadata classes and an @Component annotation to library classes