Clean up package after installation. Added repository functional api, no implementation yet