further work on controller and model; add ajax calls and logic to return splashes