Added file headers, created a simple cache system