move blueprint registration out of the runapp func