Added Constructor and setter for Async behaviour