fixed bookshelf init and added some examples