Basic framework:
1.    Is case in fed or state court—1334.  (Remember that it may also automatically be in district court just b/c it already has federal jurisdiction.)
a.    is it related to b/r?  1334(b).
b.    is it subject to abstention—mandatory or permissive?  1334(c)
2.    if it belongs in fed court, does it go to the article III judge or the Article I b/r judge?  157
3.    Despite given framework, have the parties consented to b/r jurisdiction.