Changed system/db/DB_ files to models. Added user check for Paper functions. Added error handling in header