Added module structure, fix html structure

I have changed base structure for html document, have added module structure for applicationJS file and have fixed ajax request to the server