updated singleton macro to accept initialization block
introduced macro to perform task in background and activate a UIActivityIndicatorView while the task is executed
introduced sequential background queue