Redefine interface of the platform, prepare for implementing foraminifera

Simplified a lot of things, merged environment and agents, deleted unused code, generalized display function