Added caching to project middleware.
Started work on mapping.