cleaned up chapter ruby commandline and models and databases