Made the documentation more complete.
Made the library more PEP-8.