Some more Ruby improvements

Added min limit constant, moved main program to run method to prevent
referencing an instance all the time. Removed now unused attr_reader
accessors too.