Got something working finally.
Removed some code  from the project.
Removed a little more code.