added migrations. Added subject stuff.