Add xdebug for development
readme todo
Some architecure changes