got rid of the brain rendering for the time being
added new functions for interfacing with nims