refactoring... template substition, removed old files, first iteration of recommendation algorithm