Knockout states based application