Initial commit of papers functionality