reorganize files; add python unittest test