#82 added validation to AlgorithmController (renaming model name for CreateAlgorithmController)