add travis ci button
use ../src for code tests, move constants to seperate file