Lib/user.js and lib/stock.js

Centralized user and stock model
Deleting portfolio.js