added all of the api-related methods, filled in the configuration ones, still need to test them