Added basic validation to Project model.