The member variables are placed under the private keyword, which means that anything outside the class can't access them.
You must read into local variables inside main and pass to the class functions.