added external libraries
added simulation stuff changes