Added main and cornered.js