Add ALayer and modifiers in APerceptron