rename NJ_Squared into Main class
change render mode to direct