Issue Management and Spec's

This is the issue management code with rspec tests. please do a full test on the branch prior to accepting the pull request.