[refactor] moving more stuff around (mostly ruby files)