Removed some old implementation and added example config