changing the application stracture