Added Q library and modularized my API to allow for future flexibility