more cleanup and implementation of get on static resource