Add logic based on distance + Look for builtin in case of AttributeError
Write not very elegant unit tests and take this chance to setup Travis