Added initial support for bluetooth and a config file