Added new backend, logging and some fixes