Cleaning up code + removed a few leaks after profiling with valgrind, just need to finishing up training and applying the filter