you may want to consider keeping all of the code for projects and tasks separated out of the terminal. it will help with troubleshooting later and flexibility for your UI.