Refactor code

    * Change variable name
    * Infinite main loop