added preload.js lib, started the Entity class tree