Changed signing to be optional and added sign method

#5