Solved Exports Issue

Solved the issue where data was not being exported properly from the
logic.js file over to the app.js file, and also cut out a significant
amount of redundant LOC