added static class and edge detect

Created a new class, ImageAlgorithms, to hold all the algorithmic
details and separate it from the view. Also added the skeleton for edge
detection, though it does not currently work.