Add UI to main

added UI but tostring don work