remove tests
refactorization
refactorization
add models module
change to_json
add specs