moved to sockets
added puma
fixed account balance
removed threads because it was causing issues with the database