added corelocation framework and doit to didfinishloading