added rails support and remove all key maps