Initial batch of models (error prone, I am tired). Added gems for foreign key enforment in datbase and gem for SOAP support.