added base for loading robot code, which is mostly just an extention of entity loading.

also refactored the name of `ebase`-->`entity_base` I should stop using short names, autocoplete exists for a reason.