Removed useless stuff and introduced Maven instead of Ivy/Ant. Also made it MAC-safe for now..