minor refactoring
added simple logging for start and end times to figure out which build
stages are slow