Added an object to store things in memory.
Added more endpoints.