m4 Create resourceLoaders

Added resource loaders. Now resource code is simpler and has less dependencies
m6 fix object picking

Object id returned from scene picking is fixed. Test for number of objects was
not right.