Content Based Image Retrieval and Classification Using Image Features and Deep Neural Network