added convnet and its unit tests