interface token {
    function transfer(address receiver, uint amount) public;                                    // Transfer function for transferring tokens
    function getBalanceOf(address _owner) public constant returns (uint256 balance);            // Getting the balance from the main contract
}
function getBalanceOf(address _owner) public constant returns (uint256 balance);            // Getting the balance from the main contract

// Transfer function for transferring tokens