added unix console clear commands and replaced require with require_relative