Core FETCH

Core now implements FETCH command. LOGIN is also working. All left to do
is RESTClient doing the actual work.