Moved core middleware into ferox-core