code lint, demo fixed and moved to a separated folder