Re wrote the complete application to make it workable with images/scripts and css files