Fixing warnings
Refactoring and web application prototype