add travis settings
Fix some depracation warnings and add some specs
remove some files