Utils for scala applications