Silent some warnings, add getopt, start support of elm