removed a bunch of unused repository code