You unfortunately "invited" the police officers into your room and "confessed" to a crime or crimes which you are now charged with. I suggest that you consult with a criminal defense attorney to see if you qualify for the court's "diversion" program.If you do, then possibly if you complete it, the charges against you will be dismissed without any conviction.