Server side code of stock screener app