Added the main codes.
Added the styling