Added libraryObject model and possibility to load it like an enviroment for library
Added login dialog