Introduce Sequence class

And make MLP inherit from `Sequence`
Cool, I'll make the changes, but keep in mind that this PR is closed, look at #78 instead.