add printing functions for interactive use
add build results retrieval function
several minor changes