Potentially messed up phone

Hello all. I have a droid razr maxx that is rooted. I decided to try and clean some junk off the phone and it seems i messed up something with my texting app (it is completely gone), and trying to download a 3rd party texting app dosent seem to allow me to atleast receive texts

Do you have a restore point saved?  You could also try finding an apk of the messaging app and attempting reinstalling it but I would just restore as its easier.

I dont have any restore points that i know of. I found a apk but when trying to install it i get a "App not installed" error

Do you have enough storage? If so, I would just restore your phone and redo the root. 

I have enough storage. Wouldn't restoring my phone include losing everything on it? if so surely there is a better way to go upon this rather than just wiping everything.

Do not expect much of android and its apps - allot of them are buggy - Rooting does not help either - best and most easy solution is to do factory restore - even if it means wiping everything off - of course you could try recovering everything but it would put you through immense hassle - do you really need that so much, do you? 

First thing you should do when you root your device and have a custom bootloader is backup your phone or do one when you think you are going to do something stupid, or have it setup exactly the way you want it.  That way you don't have to 'start over' from scratch and reinstall and configure apps like when doing a factory restore.  Let this be a lesson I suppose.

I have factory reset my phone and the messaging app is still missing

Have you tried putting a new custom ROM back on the phone? I had a droid 4 that had a similar issue, but i simply disabled the texting app and had to factory reset.

I never had a custom ROM on my phone.

I fixed the issue by installing the liquid smooth rom