moved redundant files to the backup directory. Also fixed a number of bugs in the design