beer and component basic function
Finished the function of books Fixed #12