changed sendNumber func, renamed some struct objects
some reorganization
renamed objects