added hacks for resource selections at SINP databases
major cleanup of server sources