separated code into MVC structure
added source code link