fix some apis, views... add SendNotification class