implementing the library->package->theme model