add Logic.js and layout.css