Reworked API to provide endpoints instead of just being a big testing file.
Fixed how API runs. Its way simpler now.