Updated app.js to pos.js and added file structure