initialize smart phone app