Moved the ledmap code into its own file and removed the dependency of a specific element