added circuitry files and added circuitry code to the main.js file