Add to classes

Add enum fields, dbcontext, compile