added name to library model
added routes