Cleaned up code, added comments to some added a little functionality to
alpaca class for future use