Started the work on a better api that can handle operations without the
inventory context.