move ruby into seperate file for faster dev