changes 404 error to not send page, only 404
finalizes full cache refactor

Changed avalax api a bit to work with native node callback style.
Refactored avalx a bit. Implemented a secondary cache to cache api calls
which gets refreshed on avalx cache refreshed event.