Database bug fixed.User Interface yet to be done.