Add simple cache struct with methods
Add cache flush to manager on shutdown
Add port flag to set custom port
Add initial working logic for cache