Moved WebAPI-related stuff to separate assembly.