remove package cache as it doesn't contain anything now

everything is loaded lazily on demand
use constants for encoding