Rearrange Layer constructor params.
Add ::Ref classes for various Layer and Print classes.
Add Layer accessors (except regions array).
Call Layer constructor and set upper/lower_layer correctly.