added Ubuntu support and made first working version