Working on ubuntu compatibility and documentation