changed project.py to core.py, added if __name__ == __main__ statements to core and repl