Better handling of families
Improve class reolving strategy
Refactoring
Add travis script