Composer support

Added composer support and more details on readme file about methods of library.