Moved fragment to class file
API to get ghosts from server