Code Restructure

Included functions to preprocess and build separate representations for
the training and test data sets.
Revert "Code Restructure"

This reverts commit 02bb05e01335d862292c5e099a6b611a4c79c209.