pinpoint_create_app function

Creates an application