added variables and methods to square class so that it would comply with mThread, fixed manager class by adding constructor and initializing methods there instead of outside, minor changes and fixes elsewhere