rename max to avoid #define confusion

expose weather data in UserModel so that scripts have access
add unit testing and unit testing resources for Sim and User Models.