Add logic for loading orders and code for View

Currently have some bug in the month switching logic due to fix it