Fixed paths in API so that they don't need to be set in the constructor