Modelling an Interactive Application