Adding read_wait.c and user_app.c