Works now! Implemented TUI, Changed factory (one function was not optimal)