structure completed; directories rebuilt for easy deployment; TODO: algorithm implementation