[Nathan] Fixed reference issue with Main class