Implemented queries between dates
Separated payments from income