How to use Arduino libraries without setup() and loop()

Take a break.
Get a beer if you are so inclined.
Watch this vid: https://www.youtube.com/watch?v=-XPrSScamXc

I you do not want to use the Arduino paradigm, then don't.