move src/ to lib/; create testci task