Additional Features

Fixed some packet structures, expanded built in functions, added some new test commands.