Moved source files under main/ to a more standard location since they seem to confuse
the IDE.