Refactored graph-api to no longer include implementation classes