refactored constructor parameters a little; added jsdocs to constructor; delinted a bit
refactored constructor parameters a little; added jsdocs to constructor; delinted a bit

spazproject/spazcore,spazproject/spazcore