Repository controller, Search Controller, Version Controller

Method implementations and tests