created function and variable manager, worked on workspace