A modern course in university physics