added current location sending mechanism
deleted and added some files
Merge pull request #4 from hunzai/clean_code

Clean code