Init application structure