Add constructors which allow for configuration of cache location and size