Moving feature extracting code to features folder.