initial draft on module libpower, methods should be implemented but not tested