added time import
completion of basic UI