Restructured the API usability to make it more functional in nature