added method documentation
added usage section in readme