implemented computation of date difference, added libraries, improved layout and gui