gid is now an alias for id
adding possibility to load data from a file instead of the network
basic unit testing