Changed main.cpp to properly (maybe) call classes.

Changed how the median filter and mean filter function a bit,
so I also changed how the main program calls those programs. Next step
is to try to compile it on carver and do some (most likely) major clean
up to get it up and running again.

Then I can finally start looking at what the hell is taking so long with
the median filter...