Switch to bottlepy and cherrpy for better performance