Create threads.coffee