Adaptable Parallel Components for Grid Programming