Initialize api server from config file
changed the name from _instance_locate to _instance_lookup
as per the review comments