Moved association classes from applicationentity to asceprovider. Almost removed redundant ASCEProvider class.
Refactored message passing between threads