use ActionControlller::Base instead of ApplicationController. fixes #27
remove obsolete code while at it