Started time synchronisation, removed unneeded code and switched to scala collections