added basic book functionality. TODO: relations between book and library