Finalize optimizers. Add variable batch size for learning (SGD). Implement classification network.