added seperate commands js file
added plugin api
added fs
moving around command api