Added compass. Many small improvements

+ compass libraries
+ current consumption monitoring (basic)