Completed, with resources draft. TODO authorization. TODO testing