add helper function that checks if a file is cached in memory and serves it if it isnt. Otherwise caches the file on its initial request and then serves it.
create a server listening on port 3000. Server sets up filepath and servers the static files