work-in-progress convolutional layers refactoring