Updated with constructors
Added getblocklocation