implemented timer interrupt
added user_thread sources