prepare application framework