Added readme and fixed composer bugs in example