Move logic to module (App::St)