Refactored MLP