Changed base model to use auto increment