This seems to work when the class is in the same file as main(), but if I move it to it's own file and use "import foo" it errors. What am I missing?