Added main ruby file and documentation