fixed #12. used @notnull and @nullable annotations for all the library.