Added wave method to server to grab cases from database. Commented out
splitcase (singe) method, should be handled by other method anyway.