move activation layer and linear mapping layer to other files