API changes for clarity and ease of use, updated README to reflect the changes