Started from bottom

added a basic function to test view .. about to add diff functionality in another branch