rename model to repository closes #52
lowercase state names to match scaffold templates closes #51