Added contoller and model for publishing the binary contents.