.withClassFinderStrategy( new HibernateClassFinderStrategy() )
.withAliasProperties( this.getClass().getClassLoader().getResourceAsStream( "selectorAlias.properties" ) )
.withOutputCountLimit( 2000 )
.enableYogaLinks()
.registerYogaMetaDataClasses( User.class, Album.class, Artist.class, Song.class )
.registerEntityConfigurations( new UserConfiguration( dao ) );
getSingletons().add( new AlbumResource( dao ) );
getSingletons().add( new ArtistResource( dao ) );
getSingletons().add( new SongResource( dao ) );
getSingletons().add( new UserResource( dao ) );