Move models to lib, manually autoload.

Should prevent Rails from reloading these in dev mode.