MLP class