added project.py, added button to ui, added and modified classes in waveguide.py