A modularized, prototyped version of the backend. Much cleaner.