Added logic.js file
Wrote basic interface
Wrote interfaces for logic.js