First rudimentary version. Still needs plugin support and has no support for poorly-built repos