Refactored structure.
Added fakes for jira and svn
Added some type comments