Made using boost::bind instead of c++11 lambda
Removed useless using std::function. Added async_ prefix for some async functions. Removed useless callbacks.
Changed using lambda to using boost::bind and functions.