Remove the border around the input box and organize code