Move dbm class to own file.
Move layer class and subclasses to own file.
Fix authors.
Move inference procedure class and subclasses to own file.
Move sampling procedure class and subclasses to own file.
Fix missing import.