Add database connection to ensure connect to database in other thread
Add status on system
Add logic to return error if stacks array is empty
Add system status when returning the parameters
Change logic to return status for uppercase