updated and add some methods.

added mainly searchBook methods, Section class and BookFactory (it is
based on Factory method pattern, used to create objects. In this case,
it is used to read files and create books, magazines, etc. For now it
creates only books).

If there's any problem please tell me