Ported to linux, added eclipse build system.