Functionality update

Better JSON parser with px object. Added some 'is' functions for
checking type of variables.