Basic functionalities almost working. Needs file saver next.