rewritten

rewrote most of it
everything is now loaded as frames