Skeletons for algorithms && Factory class

i added smt in utilities too to check if the Algorithm string passed in matches.
there's probably a better way to do this though.