scala timer webapp