Introduce Sequence class

And make MLP inherit from `Sequence`
Right, we have to allow them because Python is imperative language after all. But overwriting seems to be avoidable.