Implemented connection counter, new script injection, fixed some bugs, renamed files to more consistent naming