Controller inheritance. steps towards uploads

The search function of the cli does not work at the moment. However, the
controllers are logically organized, and the upload directory has been
specified in the index.js (/public/uploads)