Added systick init and a stack setup for the threads.