file restructuring. updated ruby for compass