Refactoring and Rewrite

Added a simple web app interface. Now, it's independent.