Cut up the ruby file so each class is in it's own file, polished database