Script mk2

I think it is ready for general beta. Has some docs. Some things might still move around but the general idea is solid I think