added much to the config, updated to be more RESTful and incorporate methods vs separate routes