book library written in php for personal usage (standalone is optional)