Fixed coroutine

Fixed coroutine not being created properly and causing the program to
freeze
Started writing inital setup process