Adjusted Portfolio to use Database, Updated Views