add simple main function
split code into new module Symbol