Removed unnecessary files and converted to application framework