refactor main functionality into a separate method

I think it looks better this way
remove unused code, add comments
move throttle package to a sub-directory
add new README

renamed the project and moved throttler to be a sub-packet