moved async task
added contact container class
created a separate class for database functions to be statically
initialised