declare order as extern
declare apis for storage layer
Remove extraneous declarations
tweaks