Added more initialization code, and made a first implementation of advection kernel. Its going to be a mess trying to move shared variables around. For now all shared data is stored in windsystem.