It sounds like you were likely misclassified as a contractor instead of as an employee.. Your question does not mention how you were paid, but you may well have wage claims. Misclassification has an impact on your taxes, social security contributions, and eligibility for workers compensation and unemployment benefits. I suggest that you consult with an employee side lawyer to help figure out your options and possible courses of action. You can find one in your area at www.cela.org.
Disclaimer: Please understand that I am not offering legal advice, nor forming an attorney-client relationship with you. I am not representing you, nor doing anything to protect your legal rights. If you believe that you have suffered a legal wrong, take action before any statute or limitations expires, or your right to do so may be lost forever.
Whether you are a contractor or employee your employer can fire you. However, if you were misclassified as a contractor when you should have been classified as an employee, you would be entitled to unpaid overtime (if any was worked and not paid) and a variety of statutory penalties. Speak to a local attorney to determine how you should proceed moving forward.
This answer is a general interpretation of the law and is not fact specific to your case. Likewise it does not create an attorney-client relationship. You should seek an attorney for a review of your specific facts and documents.
Sounds like you are an employee to me. Like the saying goes, "if it walks like a duck..."
Talk to an attorney because you should have been entitled to meal and rest periods and overtime pay.
Lawyers will give you a free consultation and the law allows you to go back as far as 4 years.
Best of luck.
You are almost certainly an "employee", and not a contractor. I have published a legal guide on that subject, and I've added a link to it below. Because you were "mis-classified", your employer probably violated wage and hour laws. Also, your employer failed to withhold (and pay itself) applicable taxes, and the IRS would like to hear about that. I have published another legal guide with contact information for those and other agencies for these and other kinds of claims, and I've added a link to that, too.
This response creates no attorney client relationship; consult a local lawyer for help if you proceed.