Added more logging to profile server and cleaned up dependencies.