Seperated Web API specific code into a different assembly to remove the dependency from the core libraray