Added a simple program caching