non-action methods moved from Application to package object, cache to handle user session (fixes #15)