After so long, I finally standardized this thingy. I've been using it in a lot of projects, so here you go, if you wanna use it.