code refactoring + component definition
Merge branch 'master' of https://github.com/dawidkala/AlgorithmVisualizer