Added the main.cs and updated the CSS

Please review it and merge as needed.