made a firs working version of the software, configuration stuff is still missing