Use LRU cache in server. Split up code into separate packages.