Add code climate badge
Re-organize files and tests